<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/common/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/swiper.min.css"/>
		<script src="js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/detail.css"/>
	</head>
	<body>
		<div class="web">
			<!--头-->
			<header>
				<div class="back">
					<input type="button" name="" id="" value="back" onclick="location='index.html'"/>
				</div>

				<div class="star">
					<img src="img/detail/star.png"/>
				</div>

				<div class="title">
					<h5>产品详细</h5>
				</div>

			</header>
			
			<!--主体-->
			<section>
				<!--轮播图-->
				<div class="carous">
					<div class="slideshow">
						<div class="swiper-container">
							<div class="swiper-wrapper">
								<div class="swiper-slide">
									<img src="img/detail/detail-1.jpg"/>
								</div>
								<div class="swiper-slide">
									<img src="img/detail/detail-1.jpg"/>
								</div>
								<div class="swiper-slide">
									<img src="img/detail/detail-1.jpg"/>
								</div>
							</div>
							
							<!-- 如果需要滚动条 -->
	    					<div class="swiper-scrollbar"></div>
						</div>
					</div>
					<div class="carous-buy">
						<h6>¥32</h6>
						<input type="button" name="" id="" value="购买" />
					</div>
					<div class="clear"></div>
					<div class="carous-appraise">
						<div class="appaise-star"><p><img src="img/detail/star.png"/>好评度<span>99%</span></p></div>
						<a href="">共605个评价&gt;</a>
					</div>
					<div class="clear"></div>
				</div>
				
				<div class="itemBox">
					<div class="item-title">
						<p>适用商户</p>
						<span>&gt;</span>
					</div>
					
					<div class="item">
						<div class="item-img">
							<img src="img/detail/detail-2.jpg"/>
						</div>
						
						<div class="item-btn">
							<input type="button" name="" id="" value="进入" />
						</div>
						
						<div class="item-msg">
							<h5>万岁寿司(正佳店)</h5>
							<div class="item-score">
								<!--放星星的容器-->
								<div class="starBox">
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
								</div>
								<span>10分</span>
								<div class="clear"></div>
							</div>
							<p>离你100m</p>
							<p><a href="">查看详情&gt;&gt;</a></p>
						</div>
					</div>
					<div class="item">
						<div class="item-img">
							<img src="img/detail/detail-2.jpg"/>
						</div>
						
						<div class="item-btn">
							<input type="button" name="" id="" value="进入" />
						</div>
						
						<div class="item-msg">
							<h5>万岁寿司(正佳店)</h5>
							<div class="item-score">
								<!--放星星的容器-->
								<div class="starBox">
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
								</div>
								<span>10分</span>
								<div class="clear"></div>
							</div>
							<p>离你100m</p>
							<p><a href="">查看详情&gt;&gt;</a></p>
						</div>
					</div>
					<div class="item">
						<div class="item-img">
							<img src="img/detail/detail-2.jpg"/>
						</div>
						
						<div class="item-btn">
							<input type="button" name="" id="" value="进入" />
						</div>
						
						<div class="item-msg">
							<h5>万岁寿司(正佳店)</h5>
							<div class="item-score">
								<!--放星星的容器-->
								<div class="starBox">
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
									<div class="small-star">
										<img src="img/detail/star.png"/>
									</div>
								</div>
								<span>10分</span>
								<div class="clear"></div>
							</div>
							<p>离你100m</p>
							<p><a href="">查看详情&gt;&gt;</a></p>
						</div>
					</div>
			</div>
				
			</section>
			
			<!--尾-->
			<footer>
				<ul>
					<li>
						<a href="index.html">
							<i class="iconfont icon-noun28593cc"></i>
							<p>首页</p>
						</a>
					</li>
					<li>
						<a href="classification.html">
							<i class="iconfont icon-fl"></i>
							<p>分类</p>
						</a>
					</li>
					<li>
						<a href="">
							<i class="iconfont icon-zhinanzhen"></i>
							<p>发现</p>
						</a>
					</li>
					<li>
						<a href="">
							<i class="iconfont icon-ren"></i>
							<p>我的</p>
						</a>
					</li>
				</ul>
			</footer>
		</div>
		
		<script type="text/javascript">
			/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
//								字体大小 = 一个rem单位表示多少个像素*(设备宽度/ 设计图宽度)
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
			
		</script>
		
		
		<script>        
			var mySwiper = new Swiper ('.swiper-container', {
			    direction: 'horizontal',
			    loop: true,
			    
			    // 如果需要滚动条
			    scrollbar: '.swiper-scrollbar',
		})        
		</script>
	</body>
</html>
